import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
import sveltePreprocess from "svelte-preprocess";
import path from "path";
import * as sass from "sass";
// const config = {
//   kit: {
//     target: "#svelte",
//     vite: {
//       server: 
//       },
//     },
//   },
// };
export default {
  // Consult https://svelte.dev/docs#compile-time-svelte-preprocess
  // for more information about preprocessors
  // preprocess:

  preprocess: [
    vitePreprocess(),
    sveltePreprocess({
      sass: {
        sync: true,
        implementation: sass,
      },
    }),
  ],
  resolve: {
    alias: {
      "@": path.resolve("/src"),
    },
  },
};
